package com.lonely.factory.abstractfactory;

/**
 * @date: 2022-04-02 17:10
 * @author: ztkj-hzb
 * @description:
 **/
public class ChinaHouseFactory implements HouseFactory{


    /**
     * 构建门
     *
     * @return
     */
    @Override
    public Door createDoor() {
        return new WoodDoor();
    }

    /**
     * 构建床
     *
     * @return
     */
    @Override
    public Bed createBed() {
        return new HardBed();
    }
}
